<?php
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
        die ("You can't access this file directly...");
}

$embedcode = "<object width=\"".$row['width']."\" height=\"".$row['height']."\">";
$embedcode .= "<param name=\"movie\" value=\"".$url."\"></param>";
$embedcode .= "<param name=\"wmode\" value=\"transparent\"></param>";
$embedcode .= "<embed src=\"".$url."\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"400\" height=\"334\"></embed>";
$embedcode .= "</object>";
?>
